<template>
	<div class="invite-box">
		<view class="center-box">
			<view
				class=""
				style="
					font-size: 18px;
					color: #333;
					font-weight: bold;
					border-bottom: 1px solid rgb(0 0 0 / 10%);
					padding: 0 0 15px;
					margin-right: ;
				"
			>
				业主认证
				<image class="xiaocha" @click="close" src="../../static/image/clear.png"></image>
			</view>
			<!-- <view class="" style='height: 1px;width: 100%;'></view> -->
			<!-- <image class="close" src="/static/close.png" v-on:click="$closeInvite"></image> -->
			<view class="content">尊敬的用户，业主信息当中没有查到您的手机号无法进行房屋绑定，请先认证业主身份。</view>
			<view class="btn-group">
				<view class="invite-specia" @click="handleClick">去认证</view>
			</view>
		</view>
	</div>
</template>

<script>
export default {
	name: 'invite',

	props: {
		_specia: String
	},

	data() {
		return {}
	},

	mounted() {
		console.log('this.specia', this._specia)
	},
	methods: {
		close() {
			this.$closeInvite()
		},
		handleClick() {
			console.log('555555')
			this.$closeInvite()
			this.$Router.push({
				path: '/pages/address/address'
			})
		}
	}
}
</script>

<style scoped lang="scss">
.invite-box {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	/* height: 94vh; */
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;

	.xiaocha {
		float: right;
		margin-top: 0, 5px;
		height: 18px;
		width: 18px;
	}
	.center-box {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 622rpx;
		padding: 32rpx 40rpx;
		border-radius: 16rpx;
		opacity: 1;
		background: rgba(255, 255, 255, 1);

		.logo {
			position: absolute;
			top: -48rpx;
			left: 50%;
			transform: translateX(-50%);
			width: 136rpx;
			height: 144rpx;
		}
		.close {
			position: absolute;
			top: 24rpx;
			right: 24rpx;
			width: 48rpx;
			height: 48rpx;
		}

		.title {
			margin-top: 66rpx;
			text-align: center;
			color: rgba(0, 0, 0, 1);
			font-size: 36rpx;
			font-weight: 500;
			font-family: 'PingFang SC';
			letter-spacing: 0.6rpx;
		}

		.content {
			margin: 40rpx 0 74rpx;
			font-size: 32rpx;
			font-family: 'PingFang SC';
			letter-spacing: 0.6rpx;
			font-weight: 500;
			color: #333;
			text {
				font-size: 32rpx;
				letter-spacing: 0.6rpx;
				color: rgba(69, 108, 255, 1);
			}
		}

		.btn-group {
			margin-bottom: 0, 5px;
			display: flex;
			justify-content: center;
			padding: 0 16rpx;
			.invite-specia {
				width: 526rpx;
				height: 88rpx;
				line-height: 88rpx;
				border-radius: 44rpx;
				text-align: center;
				color: #427705;
				border: 1px solid #427705;
				/* background: linear-gradient(-46.8deg, rgba(63,101,255,1) 0%, rgba(97,141,255,1) 100%); */
				/* color: #fff; */
			}
		}
	}
}
</style>
